<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core"%>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
	.modify_success{
		width:100%;
		border:1px solid #e9e7e7; /*굵기 스타일 색깔*/
		vertical-align:top; 
		text-align:center;
		padding:8px 0;  
		line-height:18px;
		margin-top : 30px;	
		margin-left:30px; 
		border-collapse: collapse;
	}
	.modify_success th{
		width:28%;
		text-indent:28px; 
		border-right: 1px solid #e9e7e7;
		text-align:left; 
		border-bottom:1px solid #e9e7e7;
	}
	.modify_success td{
		vertical-align:bottom; 
		padding:8px 0;  
		line-height:30px;
		border-bottom:1px solid #e9e7e7;
	}
	.modifyName{
		width:25%;
		border-right: 1px solid #e9e7e7;
	}
</style>
<script type="text/javascript" src="/MemberTest/js/member_jion.js"></script>
<title>Insert title here</title>
</head>
<body>
<form action="#" name="form1" method="post" onsubmit="return member_join()">
<input type="hidden" name="flag" value="Y">
<center>
	<table class="modify_success">
		<tr>
			<th align="left" nowrap>이름</th>
			<td align="left" nowrap width="20" class="modifyName"><c:out value="${login_info.name }"/></td>
			<th align="left" nowrap width="20%"><font>주민등록번호</font></th>
			<td align="left" nowrap>&nbsp;
			<c:out value="${login_info.registration_number1 }"></c:out>
			-<c:out value="${login_info.registration_number2 }"></c:out>
			</td>
		</tr>
		<tr>
			<th align="left" nowrap>아이디</th>
			<td  colspan="3" align="left" nowrap>
			<c:out value="${login_info.member_id }">&nbsp;&nbsp;${login_info.member_id }</c:out>
			</td >
		</tr>
		<tr>
			<th align="left" nowrap>비빌번호</th>
			<td colspan="4"  align="left" nowrap><c:out value="${login_info.memScrtNo }"></c:out>
		</tr>
		<tr>
			<th align="left" nowrap>이메일주소</th>
			<td colspan="3" align="left" nowrap>
			<c:out value="${login_info.email }"></c:out>&nbsp;@&nbsp;<c:out value="${login_info.email_type }"></c:out>
			</td>
		</tr>
		<tr>
			<th align="left" nowrap>성별</th>
			<td align="left" nowrap colspan="3">
				<c:choose>
					<c:when test="${login_info.gender eq 'M' }">
						<c:out value="남자"/>
					</c:when>
					<c:when test="${login_info.gender eq 'F' }">
						<c:out value="여자"/>
					</c:when>
				</c:choose>
			</td>
		</tr>
		<tr>
			<th align="left" nowrap>이메일수신여부</th>
			<td colspan="3" align="left" nowrap>
				<c:choose>
					<c:when test="${login_info.email_flag eq 'Y' }">
						<c:out value="수신동의"></c:out>
					</c:when>
					<c:when test="${login_info.email_flag eq 'N' }">
						<c:out value="수신하지 않음"></c:out>
					</c:when>
				</c:choose>
			</td>
		</tr>
		<tr >
			<th align="left" nowrap>전화번호</th>
			<td colspan="3" align="left" nowrap><c:out value="${login_info.tel_no01 }"></c:out>
				-<c:out value="${login_info.tel_no02 }"></c:out> 
				-<c:out value="${login_info.tel_no03 }"></c:out>
			</td>
		</tr>
		<tr>
			<th align="left" nowrap>휴대폰번호</th>
			<td colspan="3" align="left" nowrap>
				<c:out value="${login_info.press_association}"></c:out>
				&nbsp;&nbsp;
					<c:out value="${login_info.phone_no01 }"></c:out>
				-<c:out value="${login_info.phone_no02 }"></c:out>
				-<c:out value="${login_info.phone_no03 }"></c:out>
			</td>
		</tr>
		<tr>
			<th>
				우편 번호
			</th>
			<td colspan="3" align="left" nowrap="nowrap">
				<c:out value="${login_info.zipcode1 }"></c:out>
				-<c:out value="${login_info.zipcode2 }"></c:out><br>
			</td>
		</tr>
		<tr>
			<th nowrap>주소</th>
			<td colspan="3" align="left" nowrap>
				<c:out value="${login_info.address }"></c:out>&nbsp;&nbsp;&nbsp;
				<c:out value="${login_info.address_detail }" ></c:out>
			</td>
		</tr>
	<c:if test="${not empty login_info.picture_name}">
		<tr>
			<th align="left" nowrap>사진</th>
			<td align="left" nowrap colspan="3">
				<img src="/MemberTest/pictures/${login_info.picture_name}" width="300" height="300">
			</td>
		</tr>
	</c:if>
	</table>
	<a href="Login.jsp">메인페이지</a>
</center>
</form>
</body>
</html>